package com.item.piketao.api;

import com.item.piketao.dao.Brand;
import org.springframework.web.bind.annotation.*;


/**
 * @author admin
 */

@RequestMapping("brand")
public interface BrandApi {
    /**
     * 根据id查询brand
     *
     * @param id
     * @return
     */
    @GetMapping("{id}")
    Brand queryBrandById(@PathVariable("id") Long id);
}